From d02749a0825a37d621febda1602ee75ae151f4d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Wed, 4 Oct 2017 16:47:39 +0200 Subject: [PATCH] babl: rearrange BablModel struct Babl is doing casting that relies on BablFormat / BablModel having the same layout for shared members. --- babl/babl-model.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babl/babl-model.h b/babl/babl-model.h index 96ff903..0862379 100644 --- a/babl/babl-model.h +++ b/babl/babl-model.h @@ -30,8 +30,8 @@ typedef struct BablType **type; /*< must be doubles, used here for convenience in code */ void *data; /* user-data, used for palette */ - void *model; /* back pointer to model with sRGB space */ const Babl *space; + void *model; /* back pointer to model with sRGB space */ } BablModel; #endif -- 2.30.2